<?php
session_start();

require_once '../../../serverResources/includes/db/ConnDBUser.php';
require_once '../../../serverResources/includes/classes/Group.php';
include_once '../others/refreshSessionTime.php';

if(isset($_POST['groupID']) && isset($_POST['groupName'])){

	$gp=new Group('', '');
	$sucess=$gp->editGroup($_POST['groupID'], $_POST['groupName']);
	unset($gp);
	echo $sucess;

}
